package com.ruoyi.house_sale.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售状态对象 salestate
 * 
 * @author ruoyi
 * @date 2022-03-30
 */
public class Salestate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 状态编号 */
    private Long saleid;

    /** 状态名称(可售，锁定，认购，签约等) */
    @Excel(name = "状态名称(可售，锁定，认购，签约等)")
    private String salename;

    /** 显示颜色 */
    @Excel(name = "显示颜色")
    private String bgcolor;

    public void setSaleid(Long saleid) 
    {
        this.saleid = saleid;
    }

    public Long getSaleid() 
    {
        return saleid;
    }
    public void setSalename(String salename) 
    {
        this.salename = salename;
    }

    public String getSalename() 
    {
        return salename;
    }
    public void setBgcolor(String bgcolor) 
    {
        this.bgcolor = bgcolor;
    }

    public String getBgcolor() 
    {
        return bgcolor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("saleid", getSaleid())
            .append("salename", getSalename())
            .append("bgcolor", getBgcolor())
            .toString();
    }
}
